package com.twu.biblioteca;

public class MembershipDetails {
    public void showMembershipDetails(int customerNumber,CustomerDetails[] customerDetails)
    {
        if (customerNumber == 0)
            System.out.println("Please talk to a librarian. Thank You!");

        if (customerDetails[customerNumber].loggedInFlag)
        {
            System.out.println(customerDetails[customerNumber].customerName+"\t"
                    + customerDetails[customerNumber].customerId+"\t"
                    + customerDetails[customerNumber].phoneNumber+"\n");
        }
        else
            System.out.println("Please talk to a librarian. Thank You!");
    }
}
